package com.tourism.user.cn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tourism.core.cn.dto.LoginDto;
import com.tourism.core.cn.dto.RegisterDto;
import com.tourism.core.cn.dto.RegisterResultDto;
import com.tourism.core.cn.entity.User;

/*********************************************************************
 Copyright(c) 2024 All Rights Reserved .
 Author : liliang
 CreatedOn : 2024/12/31 0:01
 Email : 2061996582@qq.com
 Describe : TODO
 UseCase :
 Version : 2024|V1.0.0.0
 **********************************************************************/
public interface IUserService extends IService<User> {
    RegisterResultDto register(RegisterDto registerDto);

    //根据手机号判断用户是否存在
    RegisterResultDto checkUserByMobile(String mobile);

    RegisterResultDto loginByPassword(LoginDto loginDto);
}
